home *** CD-ROM | disk | FTP | other *** search
/ MacWorld 1999 January - Disc 2 / Macworld (1999-01) (Disk 2).dmg / Serious Demos / Symbolic Composer 4.2 / Environment / System / MRAC / Convert / c-pitch-to-symbol < prev    next >
Text File  |  1998-08-11  |  455b  |  15 lines

  1. c-pitch-to-symbol pitch
  2.  
  3. This is a reference only conversion function enabling the composer working in a chromatic tonality to input pitches, including chords, and see a symbol output. The conversion relates the compressed pitch notation c4 to symbol a.
  4.  
  5. (c-pitch-to-symbol 'c4)
  6. => a
  7.  
  8. (c-pitch-to-symbol '(c4 d#5 e5_d5))
  9. => (a p qo)
  10.  
  11. (c-pitch-to-symbol '((c4 d#5 e5_d5) (d5_a&4 a4_c#4)))
  12. => ((a p qo) (oi jb))
  13.  
  14. (c-pitch-to-symbol '(c4_e4_g4_c5))
  15. => (aehm)